package com.login.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.login.domain.po.AdminUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author 路亚
 * @version 0.1
 * @className AdminUserMapper
 * @description
 * @date 2024/12/12 16:36
 * @since jdk11
 */
@Mapper
public interface AdminUserMapper extends BaseMapper<AdminUser> {

    @Select("select id, username, password from admin_user where username = #{username}")
    AdminUser selectByUsername(String username);
}
